package com.zsk.shop.model.results;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ljh
 * @create 2022/2/25 16:18
 */
@Data
@ApiModel("用户积分详情返回列表数据")
public class ShopOrderPointsListResult {

    @ApiModelProperty(name = "createTime", value = "创建时间", dataType = "Date")
    private Date createTime;

    @ApiModelProperty(name = "orderPointsNo", value = "业务主键", dataType = "String")
    private String orderPointsNo;
    
    @ApiModelProperty(name = "snapshotInfo", value = "快照信息（记录来源订单商品内容快照）", dataType = "String")
    private String snapshotInfo;

    @ApiModelProperty(name = "vipLevel", value = "vip礼包等级", dataType = "Integer")
    private Integer vipLevel;

    @ApiModelProperty(name = "sourceOrderNo", value = "来源订单编号", dataType = "String")
    private String sourceOrderNo;

    @ApiModelProperty(name = "points", value = "可获积分", dataType = "BigDecimal")
    private BigDecimal points;

    @ApiModelProperty(name = "status", value = "冻结状态 0默认 1待解冻 2已解冻 3已使用", dataType = "Integer")
    private Integer status;

    @ApiModelProperty(name = "useTime", value = "使用时间，如果有值，则使用", dataType = "Date")
    private Date useTime;

}
